package jnBase.eventdispatcher
{
	import laya.events.EventDispatcher;
	
	public class JNEventDispatcher extends EventDispatcher
	{
		/**手动更改步骤事件*/		
		public static const CLICK_ADD_PAGE:String="click_addPage";
		/**自然跳转步骤事件*/		
		public static const NATURAL_ADD_PAGE:String="natural_addPage";
		/**手动更改二级步骤事件  */		
		public static const CLICK_SON_STEPS:String="click_son_step";
		/**自然跳转二级步骤事件*/		
		public static const NATURAL_SON_STEPS:String="natural_son_step";
		/**选择器械、药品事件**/
		public static var CHOOSE_TOOLS:String="choose_tools";
		/**关闭器械、药品箱 */
		public static var ClOSE_TOOLS:String="close_tools";
		/**选择器械、药品——正确事件**/
		public static var CHOOSE_TOOLS_RIGHT:String="choose_tools_right";
		/**
		 *重做 
		 */		
		public static const RE_DO:String="chongzuo";
		/**
		 *显示提示信息并播放对应语音 
		 */		
		public static var SHOW_TIPS:String="showtips";
		/**
		 *隐藏提示信息并停止播放声音
		 */		
		public static var HIDE_TIPS:String="hidetips";
		/**
		 *获取需要的工具 
		 */		
		public static var INeedTools:String;
		private static var _ins:JNEventDispatcher;
		public static var SHOW_SON_STEP:String="show_son_step";
		public static var SHOW_STEP:String="show_step";
		public function JNEventDispatcher(ins:Ins)
		{
			super();
			if(ins==null){
				alert("单例模式，请调用getInstance方法");
				return ;
			}
		}
		public static function getInstance():JNEventDispatcher
		{
			if(_ins==null){
				_ins=new JNEventDispatcher(new Ins());
			}
			return _ins;
		}
	}
}
class Ins{};